Miles Sound System SDK 7.2a

Call Logging under Xbox 360

Discussion

Miles contains a powerful diagnostic feature that allows developers to create a timestamped list of all of their application's foreground Miles calls, along with their parameters and results. The call log will be sent to an application callback routine registered with AIL_register_trace_callback, or to a plain text file if no debug-trace callback function has been registered by the application.

To take advantage of MSS's built-in logging without recompiling your application, just create a text file called "mss_debug_log.txt" in the root directory of your Xbox 360 hard drive (xe:\ from a PC, or d:\ inside a running Xbox application). If this file exists, then, during execution of all subsequent Miles calls, a timestamped API call log will be written to the file.

DirectSound itself also issues warnings to the output debug console, so you can watch that as well.

Next Topic (Miles Example for Xbox 360)

Previous Topic (Sharing the CPU under Xbox 360)


Group: Overview for Microsoft Xbox 360
Related Functions: AIL_register_trace_callback
Related FAQs: My application is crashing - what should I try?, Where is the Miles source code? How can I rebuild it (in debug mode)?

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.